package com.ynet.middleground.approve.dto;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liulx
 * @description 流程模型信息类
 * @date 2019-10-14 11:08
 */
@Data
@ApiModel(value = "流程模型信息类", description = "流程模型信息传输类")
public class ProcessModelDTO implements Serializable {

    private static final long serialVersionUID = -5970367190933120790L;

    @ApiModelProperty(value = "流程模型ID", notes = "流程模型ID", dataType = "String")
    private String id;

    @ApiModelProperty(value = "流程模型名称", notes = "流程模型名称", dataType = "String")
    private String name;

    @ApiModelProperty(value = "流程key", notes = "流程key", dataType = "String")
    private String key;

    @ApiModelProperty(value = "流程类别", notes = "流程类别", dataType = "String")
    private String category;

    @ApiModelProperty(value = "创建时间", notes = "创建时间", dataType = "java.util.Date")
    private Date createTime;

    @ApiModelProperty(value = "最新修改时间", notes = "最新修改时间", dataType = "java.util.Date")
    private Date lastUpdateTime;

    @ApiModelProperty(value = "JSON格式保存流程定义的信息", notes = "以json格式保存流程定义的信息", dataType = "String")
    private String metaInfo;

    @ApiModelProperty(value = "部署ID", notes = "部署ID", dataType = "String")
    private String deploymentId;

    @ApiModelProperty(value = "版本号", notes = "版本号", dataType = "int")
    private Integer version;

    @ApiModelProperty(value = "租户ID", notes = "租户ID", dataType = "String")
    private String tenantId;
}
